import request from '../utils/http';
const service = import.meta.env.VITE_APP_BASE_URL

// 一键溯源
export function getProcessNoteInfoByCode(params: any) {
    return request({
        url: service + '/pro/pro/all/conduct/process/getProcessNoteInfoByCode',
        method: 'get',
        params
    })
}

// 所有工序
export function listAll() {
    return request({
        url: service + '/mes/pro/process/listAll',
        method: 'get',
    })
}
// 一键溯源-2版
export function getProcessNoteInfoByCodeDefault(params: any) {
    return request({
        url: service + '/pro/pro/all/conduct/process/getProcessNoteInfoByCodeDefault',
        method: 'get',
        params
    })
}